#ifndef __IMAGE
#define __IMAGE

#include "base_datatypes.h"
#include "framebuffer.h"

typedef enum
{
	PPM = 0,        // PPM v6 -> supports: RGB8
	IMAGETYPE_EOL
} imageType;

// write a framebuffer to disk in a given image format
void imageWrite(const framebuffer *f, 	// source frame buffer for dump-to-disk
                imageType type,			// output image type
                const char* filename);  // filename of the output image

#endif
